/*
 * @Description:
 * @Author: 陈-
 * @Date: 2021-06-24 15:58:34
 * @LastEditors: 陈-
 * @LastEditTime: 2021-06-26 10:34:51
 */
// 轮播图配置api
import { get, post } from '@/utils/request'

// 查询所有
export function carousel_findAll(data) {
  return get('/carousel/findAll', data)
}

// 通过id删除
export function carousel_deleteById(data) {
  return get('/carousel/deleteById', data)
}

// 查询所有
export function carousel_query(data) {
  return get('/carousel/query', data)
}

// 保存或更新
export function carousel_saveOrUpdate(data) {
  return post('/carousel/saveOrUpdate', data)
}
